#ifndef DBALBUM_H
#define DBALBUM_H

#include "../core/dtalbum.h"
#include "../core/collection.h"

#include <QString>
#include <QList>

static const QString dbAlbumStr =
        "DbAlbum";
static const QString dbAlbumCreate =
        "create";
static const QString dbAlbumDestroy =
        "destroy";
static const QString dbAlbumUpdate =
        "update";

class DbAlbum
{
public:
    DbAlbum();
    static bool create(QList<DtAlbum *> &album);
    static bool destroy(const QList<DtAlbum *> & album);
    static bool update(const QList<DtAlbum *> & album);
    static bool getAll(Collection &collection);
    static bool setHeart(const DtAlbum &album);
};

#endif // DBALBUM_H
